/* *********************************************************************************************

How to Create CSS3 + jQuery Accordion Menu [Tutorial]
"How to Create CSS3 + jQuery Accordion Menu" that was specially made for DesignModo by our friend Valeriu Timbuc. 

Links:
http://vtimbuc.net/
https://twitter.com/vtimbuc
http://designmodo.com/futurico
http://vladimirkudinov.com
http://rockablethemes.com

********************************************************************************************* */

/* Reset */

.maccordion,
.maccordion ul,
.maccordion li,
.maccordion a,
.maccordion span {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.maccordion li {
	list-style: none;
}

/* Layout & Style */

.maccordion li > a {
	display: block;
	position: relative;
	min-width: 65px;
	width: 65px;
	padding: 0 25px 0 10px;
	height: 30px;

	color: white; /*#fdfdfd;*/
	font: bold 12px/32px Arial, sans-serif;
	text-decoration: none;
	text-shadow: 0px 1px 0px rgba(0,0,0, .35);

	background: #516271;
	background: -moz-linear-gradient(top,  #516271 0%, #485865 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#516271), color-stop(100%,#485865));
	background: -webkit-linear-gradient(top,  #516271 0%,#485865 100%);
	background: -o-linear-gradient(top,  #516271 0%,#485865 100%);
	background: -ms-linear-gradient(top,  #516271 0%,#485865 100%);
	background: linear-gradient(top,  #516271 0%,#485865 100%);

	-webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
	-moz-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}

.maccordion > li:hover > a,
.maccordion > li:target > a,
.maccordion > li > a.active {
	color: #c9c9c9;
	text-shadow: 1px 1px 1px rgba(255,255,255, .2);
	
	/*background: url(../img/active.png) repeat-x;*/
	background: #2e78ba;
	background: -moz-linear-gradient(top,  #2e78ba 0%, #1b486f 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1b486f), color-stop(100%,#1b486f));
	background: -webkit-linear-gradient(top,  #2e78ba 0%,#1b486f 100%);
	background: -o-linear-gradient(top,  #2e78ba 0%,#1b486f 100%);
	background: -ms-linear-gradient(top,  #2e78ba 0%,#1b486f 100%);
	background: linear-gradient(top,  #2e78ba 0%,#1b486f 100%);	
}

.maccordion li > a span {
	display: block;
	position: absolute;
	top: 7px;
	right: 0;
	padding: 0 10px;
	margin-right: 10px;
	
	font: normal  10px/18px Arial, sans-serif;
	background: #404247;
	
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;

	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
	box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
}

.maccordion > li:hover > a span,
.maccordion > li:target > a span,
.maccordion > li > a.active span {
	color: #fdfdfd;
	text-shadow: 0px 1px 0px rgba(0,0,0, .35);
	background: #3e5706;
}

/* Images */

/*.maccordion > li > a:before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 24px;
	height: 24px;
	margin: 4px 8px;

	background-repeat: no-repeat;
	background-image: url(../img/icons.png);
	background-position: 0px 0px;
}

.maccordion li.files > a:before { background-position: 0px 0px; }
.maccordion li.files:hover > a:before,
.maccordion li.files:target > a:before,
.maccordion li.files > a.active:before { background-position: 0px -24px; }

.maccordion li.mail > a:before { background-position: -24px 0px; }
.maccordion li.mail:hover > a:before,
.maccordion li.mail:target > a:before,
.maccordion li.mail > a.active:before { background-position: -24px -24px; }

.maccordion li.cloud > a:before { background-position: -48px 0px; }
.maccordion li.cloud:hover > a:before,
.maccordion li.cloud:target > a:before,
.maccordion li.cloud > a.active:before { background-position: -48px -24px; }

.maccordion li.sign > a:before { background-position: -72px 0px; }
.maccordion li.sign:hover > a:before,
.maccordion li.sign:target > a:before,
.maccordion li.sign > a.active:before { background-position: -72px -24px; }*/

/* Sub Menu */

.msub-menu li a {
	color: #797979;
	text-shadow: 1px 1px 0px rgba(255,255,255, .2);
	font: bold 11px/32px Arial, sans-serif;
	/*padding: 0 30px 0 20px;*/
	padding: 0 25px 0 10px;

	background: #e5e5e5;
	border-bottom: 1px solid #c9c9c9;

	-webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
	-moz-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}

.msub-menu li:hover a { background: #efefef; }

.msub-menu li:last-child a { border: none; }

.msub-menu li > a span {
	color: #797979;
	text-shadow: 1px 1px 0px rgba(255,255,255, .2);
	background: transparent;
	border: 1px solid #c9c9c9;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.msub-menu em {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 14px;
	color: #a6a6a6;
	font: normal 10px/32px Arial, sans-serif;
}

/* Functionality */

.maccordion li > .msub-menu {
	display: none;
}

.maccordion li:target > .msub-menu {
	display: block;
}